<pre class="docs-method-signature"><code>line.setLength(length)</code></pre>
<p>Scale the line so that it has the requested <code>length</code>. The start point of the line is preserved.</p>
